<script setup>
import useLogin from "@/hooks/login";

const { isLogin, tokenInfo } = useLogin();

const showToken = () => {
  console.log(111, isLogin)
}
</script>

<template>
  <div>
    <h1>Hello world!</h1>
    <p>
      <span>token: </span>
      <span>{{ tokenInfo.token }}</span>
    </p>
    <p>
      <span>Time: </span>
      <span>{{ tokenInfo.time }}</span>
    </p>
    <el-button @click="showToken">测试 Tokne</el-button>
  </div>
</template>

<style lang="scss"></style>
